import { IsOptional, IsString } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class GetUserFilterDto {
  // 可选的
  @ApiProperty({
    description: '搜索',
    required: false,
  })
  @IsOptional()
  @IsString()
  search?: string;
}
